import request from '@/common/request.js'

//展示类目信息
export function findcostCategoryList(params) {
	return request.request(
		`office-platform/costCategory/findcostCategoryList`,
		{
			method: 'post',
			data: params,
		}
	)
}

//发票校验
export function invoice(params) {
	return request.request(`office-platform/validate/invoice`, {
		method: 'post',
		data: params,
	})
}

//发票金额校验
export function invoiceAmount(params) {
	return request.request(`office-platform/validate/invoiceAmount`, {
		method: 'post',
		data: params,
	})
}

//发票总金额校验以及发票验真
export function invoiceTotalAmountAndVerify(params) {
	return request.request(
		`office-platform/validate/invoiceTotalAmountAndVerify`,
		{
			method: 'post',
			data: params,
		}
	)
}

//获取系统我发起的流程
export function getMySubmitted(params) {
	return request.request(
		`wflow/wflow/smallProgram/process/task/mySubmitted`,
		{
			method: 'post',
			data: params,
		}
	)
}
